package com.registerserver.model;

import java.io.Serializable;
import java.util.Date;

public class Student extends Person implements Serializable{
	
	private String hometown;
	private String major;
	private String className;
	private Date startedYear;
	private Date endYear;
	private String facultyID;
	private String imageURL;
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getImageURL() {
		return imageURL;
	}
	public void setImageURL(String imageURL) {
		this.imageURL = imageURL;
	}
	public String getHometown() {
		return hometown;
	}
	public void setHometown(String hometown) {
		this.hometown = hometown;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String ClassName() {
		return className;
	}
	public void setClass(String className) {
		this.className = className;
	}
	public Date getStartedYear() {
		return startedYear;
	}
	public void setStartedYear(Date startedYear) {
		this.startedYear = startedYear;
	}
	public Date getEndYear() {
		return endYear;
	}
	public void setEndYear(Date endDate) {
		this.endYear = endDate;
	}
	public String getFacultyID() {
		return facultyID;
	}
	public void setFacultyID(String facultyID) {
		this.facultyID = facultyID;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Ma sinh vien:" + this.ID + "\nHo ten:"+ this.lastName+" "+ this.firstName;
	}
}
